home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
EDITOR
/
WPWRIT11.ARJ
/
WPWRITE.SC
< prev
Wrap
Text File
|
1991-10-31
|
1KB
|
43 lines
;
; WPWRITE.SC - Call the WPWRITE Program from PARADOX.
;
; Written: 10/30/91
;
; All rights reserved. (c) Copyright 1991.
; by: Steven Booth
; N28W29868 Oakwood Grove Road
; Pewaukee, WI 53072
;
Autolib = "Slash"
PaintCanv.u("Enter Name of Table to be dumped <Esc> to Quit: ")
ACCEPT "A60" TO PAR_Table.a
IF ( retval = False ) THEN
QUIT "WPWRITE Script Terminated by User Request"
ENDIF
PaintCanv.u("Enter Name of File <Esc> to Quit: ")
ACCEPT "A60" TO WPfile.a
IF ( retval = False ) THEN
QUIT "WPWRITE Script Terminated by User Request"
ENDIF
WPfile_sl.a = BldSlash.a(WPfile.a)
WHILE ( True )
ReUse.a = "N"
IF ( ISFILE(WPfile.a) ) THEN
Ans2.a = GetYN.a("File Already Exists, Reuse It (Y/N)? ")
IF ( Ans2.a = "Y" ) THEN
ReUse.a = "Y"
QUITLOOP
ELSE
PaintCanv.u("Enter Name of File: ")
ACCEPT "A60" TO WPFile.a
WPFile_sl.a = BldSlash.a(WPFile.a)
ENDIF
ELSE
QUITLOOP
ENDIF
ENDWHILE
CMD = "RUN \"WPWRITE " + PAR_Table.a + " " + WPfile_sl.a + "\""
EXECUTE CMD